#ifndef __i2c_hard_h__
#define __i2c_hard_h__
#include "gd32f4xx.h"
#include "gd32f4xx_gpio.h"
#include "systick.h"
#include "gd32f4xx_i2c.h"

void i2c_hard_config(void);

uint8_t i2c_hard_write(uint8_t addr, uint8_t rega, uint8_t *data, uint32_t len);
uint8_t i2c_hard_read(uint8_t addr, uint8_t rega, uint8_t *data, uint32_t len);

#endif
